<!doctype html>
<html>
<head>
<meta name="layout" content="main" />
<title>芜湖市督察支队 ${menu?.name }</title>
<style type="text/css">
	.pager{
		padding:0 5;
	}
	.pager a,input{
		display:block;
		color:#0072bc;
		padding:2px;
		margin:0px 3px 0px 3px;
		border:1px solid #0072bc;
		float : left;
	}
	.pager a .disabled{
		color:#gray;
	}
	
	.pager label{
		display:block;
		color:#0072bc;
		margin:0px 2px 0px 2px;
		float : left;
	}
	
	.pager .disabled {
		display:block;
		margin:0px 2px 0px 2px;
		border:1px solid #d9ebff;
		float : left;
	}
</style>
</head>
<body bgcolor="#ffffff" topmargin="0" leftmargin="0">
	  <table width="1004" align="center" cellspacing="8" cellpadding="0" border="0" bgcolor="#FFFFFF">
            <tbody>
                <tr valign="top">
                    <td width="260" valign="top" align="center" background="/inspector/images/nzcms_left_bg.gif">
                        <table width="100%" cellspacing="0" cellpadding="0" border="0" class="nzcms_left_bg">
                            <tbody>
                                <tr>
                                    <td width="35" align="center" height="35">
                                        <img width="16" height="16" alt="分类" src="/inspector/images/word.gif">
                                    </td>
                                    <td>
                                        <span class="white14B">[&nbsp ${root? root.name : menu.name} >&nbsp;]&nbsp;信息导航</span>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                        <g:each in="${children }" var="m">
                        <table cellspacing="0" cellpadding="0" border="0" height="10">
                            <tbody>
                                <tr>
                                    <td>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                        <table width="96%" cellspacing="0" cellpadding="0" border="0"  background="/inspector/images/left_bg${m.id == menu.id ? 2 : 1 }.jpg" class="kk22" onmouseout="this. background='/inspector/images/left_bg1.jpg';" onmouseover="this. background='/inspector/images/left_bg2.jpg'">
                            <tbody>
                                <tr>
                                    <td width="40" align="center" height="35">
                                        <img border="0" alt="nzcms" src="/inspector/images/news_14.gif">
                                    </td>
                                    <td align="left">
                                        <a class="left2" href="/inspector/menu/show?id=${m.id }">${m.name }</a>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                      </g:each>
                    <td align="left">
                           <table width="98%" cellspacing="0" cellpadding="0" border="0" bgcolor="#F5F5F5" class="bg_qc">
                            <tbody>
                                <tr>
                                    <td width="25" align="center" height="20">
                                        <img alt="标" src="/inspector/images/nzcms.xinxin.gif">
                                    </td>
                                    <td class="p12">
                                        您的位置：
                                        <a href="/inspector">首页</a>
                                        <g:each in="${path}" var="it" > 
                                        &nbsp;&gt;&nbsp;&nbsp;
                                        <a href="/inspector/menu/show/${it.id }">${it.name }</a>
                                      </g:each>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                        
                        <table cellspacing="0" cellpadding="0" border="0" height="10">
                            <tbody>
                                <tr>
                                    <td>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                        
                           <!--文章显示 -->
                        <table width="98%" cellspacing="0" cellpadding="0" border="0" background="/inspector/images/nzcms/list_news_bg.gif">
                            <tbody>
                                <tr>
                                    <td width="190" align="center" height="33" class="title14b">
                                        ${menu.name }
                                    </td>
                                    <td align="right">
                                        &nbsp;&nbsp;
                                    </td>
                                    <td>
                                        &nbsp;
                                    </td>
                                </tr>
                            </tbody>
                            
                         <!-- grid 文档列表 -->
                         <g:if test="${contentList.size() > 0 }">
                         <g:each in="${contentList }" var="c"> 
                    	  <table width="98%" align="center" cellspacing="0" cellpadding="0" border="0" class="dx">
                            <tbody>
                                <tr>
                                    <td width="35" align="center" height="40">
                                        <img alt="图标" src="/inspector/images/txt.png">
                                    </td>
                                    <td align="left" class="p14">
                                        <a target="_blank" href="/inspector/content/show/${c.id }" 
                                        	title="标题：${c.title } &#13;来源：${c.source} &#13;作者:${c.author}"
                                        >${c.title.size() > 27? c.title.substring(0,28) + ".." : c.title }</a>
                                    </td>
                                    <td width="120" align="center">
                                        浏览：${c.readCount }次
                                    </td>
                                    <td width="140" align="center">
                                        发稿：${c.createTime.format("yyyy年MM月dd日") }
                                    </td>
                                </tr>
                            </tbody>
                        </table>
						</g:each>
</g:if>

<g:else>
   <table width="98%" align="center" cellspacing="0" cellpadding="0" border="0" class="dx">
                            <tbody>
                                <tr>
                                    <td align="left" class="p14" >
                                      	当前菜单下未找到内容列表，需要后台维护
                                    </td>
                                </tr>
                            </tbody>
                        </table>
</g:else>
						<!-- 分页条 -->
						 <table align="center" border="0">
                            <tbody>
                                <tr>
                                    <td align="right">
                                        <p align="center">
                             				<content:pager total="${total}" max="${max}"  offset="${offset}" />
                                        </p>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </td>
                </tr>
            </tbody>
        </table>
</body>
</html>